﻿using System.Net.WebSockets;

namespace boda.utilities.Sockets
{
    public class WebSocketModel
    {
        public WebSocketModel()
        {

        }

        public WebSocketModel(WebSocket webSocket)
        {
            WebSocket = webSocket;
        }
        public WebSocket WebSocket { get; set; }
        public WSRoleLevel RoleLevel { get; set; }

        public string? Group { get; set; }

        public string? Name { get; set; }

        /// <summary>
        /// 心跳时间
        /// </summary>
        public long HbTimestamp { get; set; }
    }
}
